
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="orgInfo" cellspacing="1">
	<tr>
		<td colspan="9" class="t_bar">&nbsp;单位基本信息</td>
	</tr>
	<tr>
		<td width="100px" nowrap align="right">企业名称：</td>
		<td colspan='5'><input type="hidden"
			name="organizations/organization[0]@submit_org" value="1"> <input
			type="hidden" name="organizations/organization[0]@sequence_no"
			value="1"> <input type="hidden"
			name="organizations/organization[0]/org_code"
			value="<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/>">
			<span name="organizations/organization[0]/cname"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/org_name" />&nbsp;
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right">企业地址：</td>
		<td colspan='3'><span
			name="organizations/organization[0]/address"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/address" />&nbsp;
		</span></td>
		<td nowrap align="right">邮政编码：</td>
		<td><span name="organizations/organization[0]/zip_code"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/zip_code" />&nbsp;
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right">企业法人代码：</td>
		<td><span name="organizations/organization[0]/org_no"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/org_no" />&nbsp;
		</span></td>
		<td align="right">法定代表人：</td>
		<td ><span
			name="organizations/organization[0]/legal_name"> <x:out
					select="$xmlData/data/organization_persons/person[@type='faren']/cname" />&nbsp;
		</span></td>
		<td nowrap align="right">企业成立时间：</td>
		<td><span name="organizations/organization[0]/registe_date">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_date" />&nbsp;
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right">网站域名：</td>
		<td><span name="organizations/organization[0]/http"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/http" />&nbsp;
		</span></td>
		<td nowrap align="right">经营面积：</td>
		<td>
		<c:set var="office_develope" scope="page"><x:out select="$xmlData/data/organizations/organization[@submit_org=1]/office_develope"/></c:set>
		<span
			name="organizations/organization[0]/office_develope">${empty office_develope ? 0 : (office_develope=='由系统统计' ? 0 : office_develope)}</span>平方米&nbsp;</td>
		<td nowrap align="right">职工人数：</td>
		<td><span
			name="organizations/organization[0]/people_count_total"><x:out
					select="$xmlData/data/organization_persons/people_count_total" />人&nbsp;
		</span></td>
	</tr>
	<tr>

		<td nowrap align="right">注册资金：</td>
		<td><span name="organizations/organization[0]/registe_fund"><x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund" />万<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund_money_name" />
		</span></td>
		<td nowrap align="right"><span class="color_red">*</span>投资控股方：</td>
		<td colspan='3'><input name="proposal/fund_name"
			class="required" label="投资控股方" type="text" maxlength="50" style="width:200px"
			value="<x:out
					select="$xmlData/data/proposal/fund_name" />" /></td>
	</tr>


	<tr>
		<td nowrap align="right">开户银行：</td>
		<td><span name="organizations/organization[0]/bank_orgname">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_orgname" />&nbsp;
		</span></td>
		<td nowrap align="right">银行账号：</td>
		<td><span name="organizations/organization[0]/bank_account">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_account" />&nbsp;
		</span></td>
		<td nowrap align="right">信用等级：</td>
		<td><span name="organizations/organization[0]/bank_credit">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_credit" />&nbsp;
		</span></td>
	</tr>
	<tr>
		<td width="" nowrap align="right">主营业务：</td>
		<td colspan='5'><span
			name="organizations/organization[0]/opt_scope"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/opt_scope" />&nbsp;
		</span></td>
	</tr>
</table>
<br>
<div class="t_bar">单位人员情况</div>
<table class="t_css table01" cellpadding="0" cellspacing="0" width="100%"
	id='orgInfo2' align="center">
	<thead>
		<tr>
			<th class="TblHead" align="center" width="100px">&nbsp;</th>
			<th class="TblHead" align="center">姓名</th>
			<th class="TblHead" align="center">电话</th>
			<th class="TblHead" align="center">手机</th>
			<th class="TblHead" align="center">传真</th>
			<th class="TblHead" align="center">电子邮件</th>
		</tr>
	</thead>
	<tbody id="tab">

		<tr>
			<td align="right">企业负责人：</td>
			<td align="center"><span
				name="organizations/organization[0]/responsible_cname"> <x:out
						select="$xmlData/data/organization_persons/person[@type='fuzeren']/cname" />
			</span></td>
			<td align="center"><span
				name="organizations/organization[0]/responsible_tel"> <x:out
						select="$xmlData/data/organization_persons/person[@type='fuzeren']/tel" />
			</span></td>
			<td align="center"><span
				name="organizations/organization[0]/responsible_mobile"> <x:out
						select="$xmlData/data/organization_persons/person[@type='fuzeren']/mobile" />
			</span></td>
            <td align="center"><span
				name="organizations/organization[0]/responsible_fax"> <x:out
						select="$xmlData/data/organizations/organization[@submit_org=1]/fax" />
			</span></td>
			<td align="center"><span
				name="organizations/organization[0]/responsible_email"> <x:out
						select="$xmlData/data/organizations/organization[@submit_org=1]/email" />
			</span></td>
		</tr>
		<tr>
			<td align="right">企业联系人：</td>
			<td align="center"><span
				name="proposal/contact_name"><x:out
						select="$xmlData/data/organization/contact_info/contact_name" />
			</span></td>
			<td align="center"><span
				name="proposal/contact_tel"><x:out
						select="$xmlData/data/organization/contact_info/contact_tel" />
			</span></td>
			<td align="center"><span
				name="proposal/contact_mobile"><x:out
						select="$xmlData/data/organization/contact_info/contact_mobile" />
			</span></td>
			<td align="center"><span
				name="proposal/contact_fax"><x:out
						select="$xmlData/data/organization/contact_info/contact_fax" />
			</span></td>
			<td align="center"><span
				name="proposal/contact_email"><x:out
						select="$xmlData/data/organization/contact_info/contact_email" />
			</span></td>
		</tr>
	</tbody>
</table>


<br>
<div class="t_bar"><span class="color_red">*</span>近三年营业情况（万元）</div>
<table border="0" cellspacing="0" cellpadding="0" class="t_css table01" id="business">
	<thead>
		<tr>
			<th width="10%" align="center" nowrap>年度</th>
			<th width="20%" align="center">销售收入</th>
			<th width="15%" nowrap="nowrap">同比增长（%）</th>
			<th width="20%">净利润</th>
			<th width="15%">同比增长（%）</th>
			<th width="20%">上交税收</th>
		</tr>
	</thead>
	<tbody id="tab">
		<tr>
			<td align="center"><input type="hidden" name="business/year_1" value="${statYear-1}" />${statYear-1}</td>
			<td align="center"><input name="business/sale_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align:right;width:100px" value="<x:out select="$xmlData/data/business/sale_1" />" /></td>
			<td align="center"><input name="business/sale_precent_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/sale_precent_1" />" /></td>
			<td align="center"><input name="business/proft_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_1" />" /></td>
			<td align="center"><input name="business/proft_precent_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/proft_precent_1" />" /></td>
			<td align="center"><input name="business/tax_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/tax_1" />" /></td>
					</tr>
					<tr>
			<td align="center"><input type="hidden" name="business/year_2" value="${statYear-2}" />${statYear-2}</td>
			<td align="center"><input name="business/sale_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/sale_2" />" /></td>
			<td align="center"><input name="business/sale_precent_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/sale_precent_2" />" /></td>
			<td align="center"><input name="business/proft_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_2" />" /></td>
			<td align="center"><input name="business/proft_precent_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_precent_2" />" /></td>
			<td align="center"><input name="business/tax_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/tax_2" />" /></td>
					</tr>
					<tr>
			<td align="center"><input type="hidden" name="business/year_3" value="${statYear-3}" />${statYear-3}</td>
			<td align="center"><input name="business/sale_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/sale_3" />" /></td>
			<td align="center"><input name="business/sale_precent_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/sale_precent_3" />" /></td>
			<td align="center"><input name="business/proft_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_3" />" /></td>
			<td align="center"><input name="business/proft_precent_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_precent_3" />" /></td>
			<td align="center"><input name="business/tax_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/tax_3" />" /></td>
					</tr>
	</tbody>
</table>
<script>
$(document).ready (function() {
	var office_product=$("#office_product").val();
	var office_develope=$("#office_develope").val();
	if (office_product=='' || office_product=='由系统统计') office_product =0;
	if (office_develope=='' || office_develope=='由系统统计') office_develope =0;
	var business_area=parseInt(office_product,10)+parseInt(office_develope,10);
	$("#business_area").text(business_area);
});
</script>